/* 
    Created on : Dec 12, 2014, 2:17:24 PM
    Author     : DucTuan
*/
.Mute{
    width: 22px;
    height: 22px;
    @include image('mute.png');
    background-color: #5C5C5C;
    background-position: center center;
    margin: 4px;
    display: block;
    float: left;
    background-size: 95%;
    border-radius: 3px;
    position: relative;
}
.Mute.stop:before {
    content: "";
    background: #F9F9F9;
    height: 22px;
    width: 2px;
    display: block;
    position: absolute;
    @include rotate(137deg);
    right: 10px;
    top: 0px;
}
#headerbar,.Wrapp_msslideshow,#ms-footer,.MenuChannel{
    display: none;
}
.change-mobile,.logo_wap{
    display: none;
}
@media(max-width:1024px){
    body{
        overflow: auto;
    }
    #content{
        position: initial;
    }
    #ms-footer{
        display: none;
    }
    #sidebar .inner .footer .infoabout img{
        width: 70px;
    }
    #sidebar{
        @include translateX(-100%);
        @include transition(.5s);
        #sidebar_button{
            display: block;
            width: 41px;
            height: 43px;
            background: #293088;
            position: absolute;
            top: 30px;
            right: -41px;
            color: #fff;
            font-size: 25px;
            text-align: center;
            border-radius: 0px 6px 6px 0px;
            line-height: 42px;
            @include transition(.4s);
            span{
                margin-left: -2px;
            }
        }
        #sidebar_button:hover{
            background: #4650C8;
        }
    }
    #sidebar.show{

        @include translateX(0%);
        z-index: 99999;
    }
    #content{
        left:0px;
        .inner{

        }
    }
}
@media(max-width:800px){
    .change-desktop{
        display: none;
    }
    .change-mobile{
        display: block;
        text-align: center;
        margin-top: 20px;
    }
    body{
        overflow: auto;
        @include bg_image('bg-mobile.jpg');
        background-attachment: fixed;
    }
    #sidebar{
        display: none;
    }
    #content{
        position: initial;
        height: 100%;
        padding-top: 70px;
        overflow: visible;
        .inner{
            padding: 11px 11px;
            .main-area {
                .chose-login, .guest{
                    float: none;
                    width: 100%;
                    text-align: center;
                }

                .welcome{
                    text-align: center;
                    float: none;
                }
                .avatar{
                    margin: 10px auto 0;
                    float: none;
                }
                .user-info{
                    padding: 20px 0 0;
                    margin: 0;
                    float: none;
                }
                p.one, p.two{
                    .half{
                        float: none;
                        width: 100%;
                        display: block;
                        text-align: center;
                    }
                    .half:nth-child(2) {
                        float: none;
                        text-align: center;
                        margin-top: 25px;
                    }
                }
            }
        }

    }
    #content.hide{
        display: none;
    }
    #headerbar{
        display: block;
        height: 70px;
        @include image('bg-sidebar.png');
        background-repeat: repeat;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 99999;
        box-shadow:0px 1px 1px rgba(0,0,0,.5);
        .logo{
            @include bg_image('vtv-now.png');
            display: block;
            width: 137px;
            height: 32px;
            margin: 18px 0px 0px 10px;
            float: left;
        }

        .actions{
            float:right;
            height:100%;
            a:before{
                content: "";
                height: 42px;
                width: 1px;
                background: #e7e7e7;
                display: block;
                position: absolute;
                top: 15px;
            }
            a.selected{
                border-bottom: 4px solid #e80000;
            }
            a{
                display: block;
                float: left;
                width: 62px;
                height: 100%;
                text-align: center;
                line-height: 82px;
                position:relative;

                span{
                    display: inline-block;
                }
                .icon-home{
                    width: 28px;
                    height: 26px;
                    @include bg_image('ico-home.png');
                }
                .icon-user{
                    width: 27px;
                    height: 28px;
                    @include bg_image('ico-user.png');
                }
                .icon-channel{
                    width: 27px;
                    height:28px;
                    @include bg_image('ico-channel.png');
                }
            }
        }
        .actions:after{
            @include clearfix();
        }
    }
    .bx-controls{
        display: none;
    }
    #tvshow{
        #slide_tvshow{

            .statusbar{
                .status{
                    right: 10px;
                }
                .info{
                    display: none;
                }
            }
        }
        #content_tvshow{
            margin:20px 0px 36px;
            .Wrapp{
                width: 100%;
                position: relative;
                overflow: hidden;
            }

            .Choices{
                width: 100%;
                float: none;
                padding:0px;
                transition: none;
                transform: none;
            }

            .Statistic{
                width: 100%;
                float: none;
                background: none;
                padding:0px;
                top: 0px;
                display: none;
            }
            .Navigator{
                margin-bottom: 10px;
                text-align:right;
                a{
                    display: inline-block;
                }
                .btnBack{
                    width: 102px;
                    height: 32px;
                    @include bg_image('btn-back.png');
                    display: none;
                }
                .btnBack.fadeInUp{
                    display: inline-block;
                }
                .btnStatistic{
                    width: 134px;
                    height: 32px;
                    @include bg_image('btn-statistics.png');
                }
            }
        }
    }

    #slideshow{
        display: none;
    }
    .Wrapp_msslideshow{
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 30px;
        display:block;
        .bx-wrapper,.bx-viewport{
            height: 100%!important;
        }
        #sm-slideshow{
            width:100%;
            height:100%;
            li{
                list-style:none;
                width:100%;
                height:100%;
                display: block;
                position: relative;

                .btn{
                    top: 20px;
                    right: 20px;
                    width: 46px;
                    height: 50px;
                    margin: 0px;
                }
                .btn.active{
                    display: none;
                }
                .image{
                    width: 100%;
                    height: 100%;
                    background-size: 100% 100%!important;
                    background-color: #eee!important;
                }
                .logo{
                    position: absolute;
                    top: 32px;
                    left: 0px;
                    right: 0px;
                    margin: auto;
                    width: 109px;
                    height: 35px;
                    background-size: 100% 100%!important;
                }
                .join{
                    display: none;
                }
            }
            .Playing{
                .join{
                    position: absolute;
                    bottom: 40px;
                    left: 0px;
                    right: 0px;
                    margin: auto;
                    display: block;
                    background: #fff;
                    color: #333;
                    border: none;
                    line-height: 44px;
                    width: 177px;
                    height:45px;
                    font-family:$base_font;
                    font-weight:bold;
                    box-shadow:0px 0px 2px rgba(0,0,0,.9);
                    font-size: 17px;
                    span{

                        display: inline-block;
                        height: 100%;
                        width: 45px;
                        float: left;
                        @include image('arrow-white.png');
                        background-color: #03a83e;
                        background-size: 18px 18px;
                        background-position: center center;
                        margin-right: 8px;
                    }
                }
            }
        }
    }

    .MenuChannel{
        position: absolute;
        top: 70px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 999;
        display:none;
        @include bg_image('bg-mobile.jpg');
        background-attachment: fixed;
        li{
            list-style: none;
            position: relative;
            padding-bottom: 29.5%;
            margin-bottom:1px;
            a{
                display: block;
                position: absolute;
                bottom: 0px;
                top: 0px;
                left: 0;
                right: 0;
                background: #fff;
                padding: 5px;
                .relative{
                    position:relative;
                    width:100%;
                    height:100%;
                    .image{
                        width: 100%;
                        height: 100%;
                        background-size: 100% 100%!important;
                    }
                    .btn{
                        top: 0px;
                        right: 0px;
                        bottom: auto;
                        background-size: 46px 50px !important;
                        width: 67px;
                        height: 70px;
                        background-position: center center;
                        background-repeat: no-repeat;
                    }
                    .btn.active{
                        display: none;
                    }
                    .info{
                        left: 0px;
                        right: 0px;
                        bottom: 0px;
                        .schedule{
                            font-size: 16px;
                        }
                        .logo{
                            width: 86px;
                            height: 28px;
                            margin-top: 12px;
                        }
                    }

                }
            }
        }
    }

    #ms-footer{
        display: block;
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        height: 40px;
        background: #fff;
        font-size: 16px;
        z-index:99999;
        box-shadow: 0px 0px 1px rgba(0,0,0,.3);

        p{
            float: right;
            padding: 9px;
            img{
                width: 90px;
            }
        }
        .Mute{
            height: 32px;
            width: 32px;
        }
        .Mute:before{
            height:32px;
            right:14px;
        }
    }
    #ms-footer:after{
        @include clearfix();
    }

    .Preload {
        width: 45px;
        height: 45px !important;
        top:24x;
        right:23px;
    }

    .logo_wap{
        background-size: 100% 100% !important;
        width: 76px;
        height: 25px;
        top: 15px;
        right: 15px;
        position: absolute;
        display:block;
    }
    #slide_tvshow.slide_view{
        .logo_wap{
            display: none;
        }
    }
}

@media(max-width:414px){
    #headerbar{
        height: 50px;
        .logo{
            width: 89px;
            height: 22px;
            margin: 14px 0px 0px 10px;
        }
        .actions{
            a:before{
                height: 22px;
                top: 14px;
            }
            a{
                width:62px; 
                line-height: 50px;

                .icon-home {
                    width: 18px;
                    height: 16px;
                }
                .icon-user{
                    width: 17px;
                    height: 18px;
                }
                .icon-channel{
                    width: 17px;
                    height: 18px;
                }
            }
            a.selected{
                border-bottom-width: 5px;
            }
        }
    }
    #content {
        padding-top:50px;

        #slide_tvshow{
            .statusbar{
                height: 32px;
                .status{
                    top: 8px;
                    right: 5px;
                    font-size: 13px;
                }
                .status.play{
                    background-position: 0px 4px;
                }
                .info{
                    display: none;
                }
                .logo{
                    display: none;
                }
            }
            .logo_wap{
                width: 58px;
                height: 19px;
                top:10px;
                right: 10px;
            }
        }
        #slide_tvshow.slide_view{
            .info{
                display: none;
            }
        }

        .inner {
            .main-area {
                font-size: 20px;
                .welcome{
                    font-size: 22px;
                }
                .avatar{
                    width: 250px;
                    height: 250px;
                }

                .changepass{
                    p{
                        margin-top: 10px;
                        label{
                            display: none;
                        }
                        .input-text{
                            display: block;
                            width: 100%;
                            float: none;
                            font-size: 20px;
                        }
                    }
                }
            }
        }
    }
    #ms-footer{
        height: 30px;
        font-size: 12px;
        .Mute{
            width: 22px;
            height: 22px;
        }
        .Mute:before{
            height: 22px;
            right: 10px;
        }
        p{
            padding:7px;
            img{
                width: 70px;
            }
        }
    }
    .Wrapp_msslideshow{
        #sm-slideshow{
            li 
            {
                .btn{
                    width: 36px;
                    height: 40px;
                    top:10px;
                    right: 10px;
                }
                .Preload{
                    top: 14px;
                    right: 13px;
                }
                .logo{
                    top:22px;
                    width: 79px;
                    height: 26px
                }
            }
            .Playing{
                .join{
                    bottom: 30px;
                    line-height: 34px;
                    width: 147px;
                    height:34px;
                    font-size:14px;
                    span{
                        width: 33px;
                        background-size: 12px 12px;
                    }
                }
            }
        }
    }
    .MenuChannel{
        top: 50px;
        li{
            padding-bottom:40%;
            a{
                .relative{
                    .btn{
                        background-size: 37px 40px !important;
                        width: 57px;
                        height: 60px;
                    }
                    .info{
                        height: 30px;
                        .logo{
                            width: 50px;
                            height: 16px;
                            margin-top: 8px;
                            margin-left: 10px;
                        }
                        .schedule{
                            font-size: 12px;
                            line-height: 32px;

                            .icon-clock{
                                width: 19px;
                                height: 17px;
                                margin-right: 7px;
                                margin-bottom: -4px;
                                background-size: 93% 100%;
                            }
                        }
                    }
                    .info:before{
                        height: 19px;
                        top:6px;
                    }
                }
            }
        }
    }

    .input-edit{
        font-size: 20px;
    }
    [class*=btn-login-] {
        height: 42px;
    }
    input.register, input.username, input.password, span.username-outside, span.password-outside{
        height: 48px;
        font-size: 20px;
    }
    .btn-register{
        height: 48px;
    }

    .save_info, .btn-login, .btn-update, .btn-forgot, .btn-change {
        height: 42px;
        float: none;
        display: block;
        margin: 30px auto 0;
    }
    .btn-guest{
        width: 250px;
        height: 250px;
    }
    .Preload {
        width: 33px;
        height: 33px !important;
    }



}

@media(max-width:320px){
    #content{
        .inner{
            .main-area{
                font-size: 18px;
                .welcome{
                    font-size: 20px;
                }

                .changepass{
                    p{
                        .input-text{
                            font-size: 18px;
                        }
                    }
                }
            }
        }
    }
    .input-edit{
        font-size: 18px;
    }
    [class*=btn-login-] {
        height: 42px;
    }
    input.register, input.username, input.password, span.username-outside, span.password-outside{
        height: 42px;
        font-size: 18px;
    }
    .btn-register{
        height: 42px;
    }
    .save_info, .btn-login, .btn-update, .btn-forgot, .btn-change {
        height: 42px;
    }
}

.Preload{
    width: 43px;
    height: 43px !important;
    position: absolute;
    top: 14px;
    right: 13px;
    display: none;
    .Preload_inner{
        position: relative;
        width: 100%;
        height: 100%;
    }
}